package cn.gok.service.impl;

import cn.gok.dao.TeacherMapper;
import cn.gok.entity.Course;
import cn.gok.entity.Teacher;
import cn.gok.service.TeacherService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author: LKSV
 * @Description:
 * @Date:Created in 18:18 2021/7/23
 */
@Service
public class TeacherServiceImpl implements TeacherService {
    @Resource
    private TeacherMapper teacherMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return 0;
    }

    @Override
    public int insert(Teacher record) {
        return 0;
    }

    @Override
    public int insertSelective(Teacher record) {
        return 0;
    }

    @Override
    public Teacher selectByPrimaryKey(Integer id) {
        return teacherMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Teacher record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(Teacher record) {
        return 0;
    }

    @Override
    public List<Course> selectTeacherCourse(int id) {
        return teacherMapper.selectTeacherCourse(id);
    }

}
